package com.touch.workshop.ui.elementeditor;
import javax.swing.*;
public class ElementEditorMenuBar extends JMenuBar
{
	private static final long serialVersionUID = -1963972161949712482L;
	protected FileMenu FILE = new FileMenu();
	public ElementEditorMenuBar()
	{
		this.add(FILE);
	}
	protected class FileMenu extends JMenu
	{
		private static final long serialVersionUID = 4758900551532850237L;
		protected JMenuItem NEW = new JMenuItem("New");
		protected JMenuItem OPEN = new JMenuItem("Open");
		protected JMenuItem SAVE = new JMenuItem("Save");
		protected JMenuItem SAVEAS = new JMenuItem("Save As");
		
		protected FileMenu()
		{
			super("File");
			this.add(NEW);
			this.add(OPEN);
			this.add(new JSeparator());
			this.add(SAVE);
			this.add(SAVEAS);
		}
	}
}
